package com.tcoiss.kettle;

import com.tcoiss.common.security.annotation.EnableRyFeignClients;
import com.tcoiss.common.swagger.annotation.EnableCustomSwagger2;
import com.tcoiss.kettle.core.init.EnableEtlKettle;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 *kettle系统服务
 */
@SpringCloudApplication
@EnableJpaAuditing
@EnableEtlKettle
@EnableScheduling
@EnableCustomSwagger2
@EnableRyFeignClients
public class KettleApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(KettleApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  kettle系统服务启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              ");
    }
}
